package com.idstrust.wiseone.sg.wisehr.common.log;

import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;

public class Log {

    private static Logger logger   = null;
    private Log(){}

    public static Logger getInstance() {
        if (logger == null) {
            PropertyConfigurator.configure(Log.class.getResource("/com/idstrust/wiseone/sg/wisehr/common/log/log4j.properties"));
            logger = Logger.getLogger(Log.class);
        }
        return logger;
    }

}
